package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.UserPassRoad;
import com.yanqu.road.logic.bussiness.DaoHelper;

public class UserPassRoadBussiness {

	public static UserPassRoad getUserPassRoad(long userId) {
		return DaoHelper.getUserRoadDaoImpl().getUserRoad(userId);
	}

	public static boolean addUserPassRoad(UserPassRoad userPassRoad) {
		return DaoHelper.getUserRoadDaoImpl().add(userPassRoad);
	}

	public static boolean updateUserPassRoad(UserPassRoad userPassRoad) {
		return DaoHelper.getUserRoadDaoImpl().update(userPassRoad);
	}


}
